Automated Debugging of Syntax Errors
نویسندگان
چکیده
Program debugging is a form of diagnosis that might be referred to as \routine." As such, debugging has similar properties as diagnosis and yet can be solved in a more straightforward manner than many diagnostic problems. Automating the debugging problem is of interest for several reasons. Debugging is a time-consuming process that tends to haunt many programmers from novices to experts. Yet the debugging problem is of a scope that is implementable unlike many other diagnostic problems which have shown to require massive and unmanageable amounts of knowledge. In this paper, automated debugging of syntax errors in Turbo Pascal programs is considered. The debugging process is compared to diagnosis. Inference types are discussed along with the knowledge of Pascal that is required to perform these inferences. Finally, two prototype automated debugging systems are introduced and demonstrated by an example.
منابع مشابه
MARKOVIAN SOFTWARE RELIABILITY MODEL FOR TWO TYPES OF FAILURES WITH IMPERFECT DEBUGGING RATE AND GENERATION OF ERRORS
N
متن کاملA Knowledge-based Automated Debugger in Learning System
Currently, programming instructors continually face the problem of helping to debug students’ programs. Although there currently exist a number of debuggers and debugging tools in various platforms, most of these projects or products are crafted through the needs of software maintenance, and not through the perspective of teaching of programming. Moreover, most debuggers are too general, meant ...
متن کاملThe Neglected Battle Fields of Syntax Errors
Syntax error correction is an essential part of the debugging process. Yet there has been little research investigating how programmers approach syntax error correction and how to help beginner programmers learn to fix errors efficiently. This paper describes development and evaluation of a tool to support students learning how to correct syntax errors. We collected both quantitative and qualit...
متن کاملEfficient Debugging of Multiple Design Errors
After functional verification detects a failure, design debugging aims to find all locations in the design that could be responsible for the observed error. The task of debugging becomes more difficult in modern designs because of the presence of multiple design errors. Multiple design errors exponentially increase the solution space of the debugging problem, leading to an intractable problem. ...
متن کاملAutomated Correction for Syntax Errors in Programming Assignments using Recurrent Neural Networks
We present a method for automatically generating repair feedback for syntax errors for introductory programming problems. Syntax errors constitute one of the largest classes of errors (34%) in our dataset of student submissions obtained from a MOOC course on edX. The previous techniques for generating automated feedback on programming assignments have focused on functional correctness and style...
متن کامل